package com.zlz.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlz.server.pojo.MenuRole;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author efire
 * @since 2021-01-20
 */
public interface MenuRoleMapper extends BaseMapper<MenuRole> {

    /**
     * 更新角色菜单
     *
     * @param rid 角色id
     * @param mids 待更新的菜单数组
     */
    void updateRecord(@Param("rid") Long rid, @Param("mids") Long[] mids);
}
